<template>
  <div>
    <el-container>
      <!--头部-->
      <el-header style="padding: 0">
        <Header></Header>
      </el-header>
      <el-container >
        <!--侧边导航菜单-->
        <el-aside width="200px">
          <MenuBar ></MenuBar>
        </el-aside>
        <!--主体区域-->
        <el-main>
          <!--路由视图-->
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
  import Header from "./Header";
  import Footer from "./Footer";
  import MenuBar from "./MenuBar";

  export default {
    name: "Index",
    components: {MenuBar, Footer, Header}
  }
</script>

<style scoped>

</style>
